// const express=require('express');
// const myRouter=require('./router/loginRouter');
// const server=express();


// server.use(express.static(__dirname+'/public'));
// server.use(express.json());
// server.use(express.urlencoded({extended:true}));

// server.use(myRouter)

// server.listen(8080,function(){
//     console.log('项目启动了')
// }
const express=require('express');
const myRouter=require('./Router/loginRouter');


const findout=require('./Router/findoutRouter');

const server=express();


server.use(express.static(__dirname+'/public'));
server.use(express.json());
server.use(express.urlencoded({extended:true}));

server.use(myRouter);

server.use(findout);

server.listen(8080,function(){
    console.log('项目启动了')
});